# 输入点坐标x,y和圆半径radius
x = eval(input())
y = eval(input())
radius = eval(input())

eps = 0.000001

d = (x**2+y**2)**0.5

if abs(d-radius) < eps :
    result = 0
elif d > radius:
    result = -1
else:
    result = 1 
    
# 点在圆内，result=1，点在圆上，result=0，点在圆外，result=-1
print(result)

